<% @page_title= "Login" %>
<%= error_messages_for 'user' %>
<% if flash[:notice] %>
<div>
<%=flash[:notice]%>
</div>
<% end %>
<%= form_tag %>
<table>
  <tr>
    <td>user name:</td>
    <td><%= text_field("user","name") %></td>
  </tr>
  <tr>
    <td>password:</td>
    <td><%= password_field("user","password") %></td>
  </tr>

  <tr>
    <td></td>
    <td><input type="submit" value=" LOGIN " /></td>
  </tr>
</table>
<%= end_form_tag %>
